package com.xushi.dao;

import com.xushi.model.UserProfile;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

@Repository("userProfileDao")
public interface UserProfileRepository extends CrudRepository<UserProfile, Integer> {
    UserProfile findByType(String type);
}
